@extends('admin.public.admin')
@section('main')
		<!-- 内容 -->
		<div class="mws-panel grid_8">
                	<div class="mws-panel-header">
                    	<span>管理员修改</span>
                    </div>
                    <div class="mws-panel-body no-padding">
                    	<form class="mws-form" action="/admin/admin/{{$data['id']}}" method="post">
                    		{{ csrf_field() }}
                    			<input type="hidden" value="PUT" name="_method">
                    		<div class="mws-form-inline">
                    			<div class="mws-form-row">
                    				<label class="mws-form-label">用户名</label>
                    				<div class="mws-form-item">
                    					<input type="text" class="small" readonly name="nickname" value="{{$data['nickname']}}">
                    				</div>
                    			</div>
                    			<div class="mws-form-row">
                    				<label class="mws-form-label">邮箱</label>
                    				<div class="mws-form-item">
                    					<input type="email" class="small" name="email" value="{{$data['email']}}">
                    				</div>
                    			</div>
                    			<div class="mws-form-row">
                    				<label class="mws-form-label">电话</label>
                    				<div class="mws-form-item">
                    					<input type="number" class="small" name="tel" value="{{$data['tel']}}">
                    				</div>
                    			</div>
                    			
                    	
                    		</div>
                    		<div class="mws-button-row">
                    			<input type="submit" value="修改" class="btn btn-danger">
                    			<input type="reset" value="重置" class="btn ">
                    		</div>
                    	</form>
                    </div>    	
                </div>
@endsection